package com.ruoyi.pointsystem.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 新亚01对象 xy01
 * 
 * @author ruoyi
 * @date 2024-04-19
 */
public class Xy01 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据编号 */
    private Long id;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    /** x位移 */
    @Excel(name = "x位移")
    private BigDecimal x;

    /** y位移 */
    @Excel(name = "y位移")
    private BigDecimal y;

    /** z位移 */
    @Excel(name = "z位移")
    private BigDecimal z;

    /** 水平位移 */
    @Excel(name = "水平位移")
    private BigDecimal hdisplacement;

    /** 合位移 */
    @Excel(name = "合位移")
    private BigDecimal displacement;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setX(BigDecimal x) 
    {
        this.x = x;
    }

    public BigDecimal getX() 
    {
        return x;
    }
    public void setY(BigDecimal y) 
    {
        this.y = y;
    }

    public BigDecimal getY() 
    {
        return y;
    }
    public void setZ(BigDecimal z) 
    {
        this.z = z;
    }

    public BigDecimal getZ() 
    {
        return z;
    }
    public void setHdisplacement(BigDecimal hdisplacement) 
    {
        this.hdisplacement = hdisplacement;
    }

    public BigDecimal getHdisplacement() 
    {
        return hdisplacement;
    }
    public void setDisplacement(BigDecimal displacement) 
    {
        this.displacement = displacement;
    }

    public BigDecimal getDisplacement() 
    {
        return displacement;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("time", getTime())
            .append("x", getX())
            .append("y", getY())
            .append("z", getZ())
            .append("hdisplacement", getHdisplacement())
            .append("displacement", getDisplacement())
            .toString();
    }
}
